using System;

namespace ECCIT.Web.UI
{
	/// <summary>
	/// Summary description for CheckTimeoutAttribute.
	/// </summary>
	[AttributeUsage(AttributeTargets.Class, Inherited = false)]
	[Serializable]
	public class CheckTimeoutAttribute : Attribute
	{
		private bool _enabled = true;

		public bool Enabled
		{
			get{ return _enabled; }
		}

		public CheckTimeoutAttribute(){}

		public CheckTimeoutAttribute(bool enabled)
		{
			_enabled = enabled;
		}
	}

	[AttributeUsage(AttributeTargets.Class, Inherited = false)]
	[Serializable]
	public class RenderStyleSheetAttribute : Attribute
	{
		private bool _enabled = true;

		public bool Enabled
		{
			get{ return _enabled; }
		}

		public RenderStyleSheetAttribute(){}

		public RenderStyleSheetAttribute(bool enabled)
		{
			_enabled = enabled;
		}
	}

	[AttributeUsage(AttributeTargets.Class, Inherited = false)]
	[Serializable]
	public class RenderClientScriptAttribute : Attribute
	{
		private bool _enabled = true;

		public bool Enabled
		{
			get{ return _enabled; }
		}

		public RenderClientScriptAttribute(){}

		public RenderClientScriptAttribute(bool enabled)
		{
			_enabled = enabled;
		}
	}
}
